package database

import "time"

type Options struct {
	Dsn     string        `comment:"dsn" yaml:"dsn" json:"dsn"`
	MaxConn int           `comment:"最大连接数" yaml:"maxConn" json:"maxConn"`
	MaxLife time.Duration `comment:"连接最大复用时间" yaml:"maxLife" json:"maxLife"`
	MaxFree int           `comment:"连接池最大空闲数" yaml:"maxFree" json:"maxFree"`
}
